package com.jy.adscm.operation.base.service.impl;

import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.jy.adscm.bean.system.JyUser;
import com.jy.adscm.operation.base.bean.TaskWorkPlanCc;
import com.jy.adscm.operation.base.mapper.mysql.TaskWorkPlanCcMapper;
import com.jy.adscm.operation.base.service.TaskWorkPlanCcService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.jy.adscm.system.mapper.mysql.JyUserMapper;
import com.jy.adscm.utils.AdscmBaseUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 个人抄送人 服务实现类
 * </p>
 *
 * @author zyl
 * @since 2020-05-29
 */
@Service
public class TaskWorkPlanCcServiceImpl extends ServiceImpl<TaskWorkPlanCcMapper, TaskWorkPlanCc> implements TaskWorkPlanCcService {
      @Autowired
    JyUserMapper jyUserMapper;
    @Override
    public List<TaskWorkPlanCc> select(Long tid) {
        Wrapper<TaskWorkPlanCc> wrapper=new EntityWrapper<>();
        wrapper.eq("tid",tid);
        List<TaskWorkPlanCc> taskWorkPlanCcs = super.selectList(wrapper);
        return taskWorkPlanCcs;
    }
}
